<?php /* Smarty version Smarty-3.1.11, created on 2013-09-16 15:57:30
         compiled from "..\templates\sinhvien\themhoso.tpl" */ ?>
<?php /*%%SmartyHeaderCode:18711523528415c09c5-91055450%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '82c89f41a584323b8ce3b002be5dfc3a07e70b74' => 
    array (
      0 => '..\\templates\\sinhvien\\themhoso.tpl',
      1 => 1379321835,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '18711523528415c09c5-91055450',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_5235284180f0b2_16951407',
  'variables' => 
  array (
    'ds_trungtam' => 0,
    'tt' => 0,
    'khoiphuc' => 0,
    'ds_nganh' => 0,
    'nganh' => 0,
    'ds_canbo' => 0,
    'cb' => 0,
    'loi' => 0,
    'ds_bachoc' => 0,
    'bh' => 0,
    'ds_dantoc' => 0,
    'dt' => 0,
    'ds_tongiao' => 0,
    'tg' => 0,
    'ds_nangkhieu' => 0,
    'nk' => 0,
    'i' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5235284180f0b2_16951407')) {function content_5235284180f0b2_16951407($_smarty_tpl) {?><script>
 $(function() {
    $( "#ngaysinh_sv" ).datepicker();
  });
 $(function() {
    $( "#thoigian_nh" ).datepicker();
  });
</script>
<div class="content-box"><!-- Start Content Box -->
	<div class="content-box-header">
		<h3>Đăng Ký Thông Tin Của Sinh Viên </h3>
	</div> <!-- End .content-box-header -->	
	<div class="content-box-content">
<!----------------------------------------------------------------- NỘI DUNG TRANG------------------------------------------------------------------------>
        			
        <form action="" method="POST" id="formnoidung" name="dulieu" enctype="multipart/form-data" onsubmit="return ktnhap_cb()">
        <table>
                <tr>
                    <td colspan="10"><b>Thông tin hồ sơ nhập học</b></td>    
               </tr>
               <tr>
                    <td colspan="10">
                    &nbsp;&nbsp;&nbsp;
                    <b>Trung tâm liên kết</b>
                        <select name="trungtam">
                            <?php  $_smarty_tpl->tpl_vars['tt'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['tt']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['ds_trungtam']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['tt']->key => $_smarty_tpl->tpl_vars['tt']->value){
$_smarty_tpl->tpl_vars['tt']->_loop = true;
?>
                                <option value="<?php echo $_smarty_tpl->tpl_vars['tt']->value['ma_trungtam'];?>
" <?php if ($_smarty_tpl->tpl_vars['tt']->value['ma_trungtam']==$_smarty_tpl->tpl_vars['khoiphuc']->value['trungtam']){?> selected=""<?php }?>><?php echo $_smarty_tpl->tpl_vars['tt']->value['ten_trungtam'];?>
</option>
                            <?php } ?>
                        </select>
                    <b>Ngành</b>
                        <select name="nganh">
                            <?php  $_smarty_tpl->tpl_vars['nganh'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['nganh']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['ds_nganh']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['nganh']->key => $_smarty_tpl->tpl_vars['nganh']->value){
$_smarty_tpl->tpl_vars['nganh']->_loop = true;
?>
                                <option value="<?php echo $_smarty_tpl->tpl_vars['nganh']->value['madm_nganh'];?>
" <?php if ($_smarty_tpl->tpl_vars['nganh']->value['madm_nganh']==$_smarty_tpl->tpl_vars['khoiphuc']->value['nganh']){?> selected=""<?php }?>><?php echo $_smarty_tpl->tpl_vars['nganh']->value['ten_nganh'];?>
</option>
                            <?php } ?>
                        </select>     
                    </td>
                </tr>
                <tr class="linebottom">
                    <td colspan="9">
                    &nbsp;&nbsp;&nbsp;                   
                    <label id="lbnamkhoahoc">Năm khóa học</label> 
                        <input class="small-input" type="text" name="namkhoahoc" id="namkhoahoc" value="<?php echo $_smarty_tpl->tpl_vars['khoiphuc']->value['namkhoahoc'];?>
" onblur="ktnamkhoahoc(this.value)"/> 
                    <label id="lbthoigian_nh">Thời gian nhập học</label> 
                        <input class="medium-input" type="text" name="thoigian_nh" id="thoigian_nh" value="<?php echo $_smarty_tpl->tpl_vars['khoiphuc']->value['thoigian_nh'];?>
" onblur="ktthoigian_nh(this.value)" autocomplete="off"/>
                    <b>Người duyệt</b> 
                        <select name="canbo">
                            <?php  $_smarty_tpl->tpl_vars['cb'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['cb']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['ds_canbo']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['cb']->key => $_smarty_tpl->tpl_vars['cb']->value){
$_smarty_tpl->tpl_vars['cb']->_loop = true;
?>
                                <option value="<?php echo $_smarty_tpl->tpl_vars['cb']->value['ma_cb'];?>
" <?php if ($_smarty_tpl->tpl_vars['cb']->value['ma_cb']==$_smarty_tpl->tpl_vars['khoiphuc']->value['canbo']){?> selected=""<?php }?>><?php echo $_smarty_tpl->tpl_vars['cb']->value['hoten_cb'];?>
</option>
                            <?php } ?>
                        </select>
                    </td>
               </tr>    
                <tr>
                    <td colspan="9"><b>Thông báo: </b><label id="loi"><?php echo $_smarty_tpl->tpl_vars['loi']->value;?>
</label></td>
                </tr>
                <tr>
                    <td><label id="masv">Mã SV:</label></td>
                    <td><input class="text-input" type="text" name="masv" id="masv" value="<?php echo $_smarty_tpl->tpl_vars['khoiphuc']->value['masv'];?>
"/> </td>
                    <td ><label id="hoten">Họ và tên:</label></td>
                    <td><input class="text-input" type="text" name="hoten_sv" id="hoten_sv"  onblur="Chuanhoa(this)" value="<?php echo $_smarty_tpl->tpl_vars['khoiphuc']->value['hoten_sv'];?>
"/></td>
                    <td ><label id="ngaysinh">Ngày sinh:</label></td>
                    <td ><input class="medium-input" type="text" name="ngaysinh_sv" id="ngaysinh_sv" autocomplete="off" onchange="ktngaysinh(this.value)" value="<?php echo $_smarty_tpl->tpl_vars['khoiphuc']->value['ngaysinh_sv'];?>
"/> </td>
                    <td ><label id="noisinh">Nơi sinh:</label></td>
                    <td colspan="2">
                        <input class="text-input" type="text" name="noisinh_sv" id="noisinh_sv" value="<?php echo $_smarty_tpl->tpl_vars['khoiphuc']->value['noisinh_sv'];?>
" onblur="ktnoisinh(this.value)"/>                    
                        <input type="radio" name="gt" value="Nam" <?php if ($_smarty_tpl->tpl_vars['khoiphuc']->value['gt']=='Nam'){?> checked="1"<?php }?>/>Nam
                        <input type="radio" name="gt" value="Nữ" <?php if ($_smarty_tpl->tpl_vars['khoiphuc']->value['gt']=='Nữ'){?> checked="1"<?php }?>/>Nữ  
                    </td>
                </tr>
                <tr>
                    <td ><b>Bậc đã học:</b></td>
                     <td>
                        <select name="bachoc">
                            <?php  $_smarty_tpl->tpl_vars['bh'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['bh']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['ds_bachoc']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['bh']->key => $_smarty_tpl->tpl_vars['bh']->value){
$_smarty_tpl->tpl_vars['bh']->_loop = true;
?>
                                <option value="<?php echo $_smarty_tpl->tpl_vars['bh']->value['madm_bh'];?>
" <?php if ($_smarty_tpl->tpl_vars['bh']->value['madm_bh']==$_smarty_tpl->tpl_vars['khoiphuc']->value['bachoc']){?> selected=""<?php }?>><?php echo $_smarty_tpl->tpl_vars['bh']->value['ten_bh'];?>
</option>
                            <?php } ?>    
                        </select>
                    </td>
                    <td ><label id="noitotnghiep">Nơi TN:</label> </td>
                    <td><input class="text-input" type="text" name="noitotnghiep_sv" id="noitotnghiep_sv"  value="<?php echo $_smarty_tpl->tpl_vars['khoiphuc']->value['noitotnghiep_sv'];?>
" onblur="ktnoitotnghiep(this.value)"/> </td>
                    <td ><label id="namtotnghiep"> Năm TN:</label></td>
                    <td><input class="medium-input" type="text" name="namtotnghiep_sv" id="namtotnghiep_sv" onblur="ktnamtn(this.value)" value="<?php echo $_smarty_tpl->tpl_vars['khoiphuc']->value['namtotnghiep_sv'];?>
"/> </td>
                    <td><label id="dantoc">Dân tộc:</label></td>
                    <td><select name="dantoc">
                            <?php  $_smarty_tpl->tpl_vars['dt'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['dt']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['ds_dantoc']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['dt']->key => $_smarty_tpl->tpl_vars['dt']->value){
$_smarty_tpl->tpl_vars['dt']->_loop = true;
?>
                                <option value="<?php echo $_smarty_tpl->tpl_vars['dt']->value['madm_dantoc'];?>
" <?php if ($_smarty_tpl->tpl_vars['dt']->value['madm_dantoc']==$_smarty_tpl->tpl_vars['khoiphuc']->value['dantoc']){?> selected=""<?php }?>><?php echo $_smarty_tpl->tpl_vars['dt']->value['ten_dantoc'];?>
</option>
                            <?php } ?>
                        </select>
                    </td>
                    <td>                 
                        <input type="radio" name="doanthe_sv" value="Đoàn viên" <?php if ($_smarty_tpl->tpl_vars['khoiphuc']->value['doanthe_sv']=='Đoàn viên'){?> checked="1"<?php }?>/>Đoàn
                        <input type="radio" name="doanthe_sv" value="Đảng viên" <?php if ($_smarty_tpl->tpl_vars['khoiphuc']->value['doanthe_sv']=='Đảng viên'){?> checked="1"<?php }?>/>Đảng
                        <input type="radio" name="doanthe_sv" value="Chưa" <?php if ($_smarty_tpl->tpl_vars['khoiphuc']->value['doanthe_sv']=='Chưa'){?> checked="1"<?php }?>/>Chưa
                    </td>
               </tr>
               <tr>
                    <td ><label id="cmtnd">CMTND:</label></td>
                    <td><input class="text-input" type="text" name="cmtnd_sv" id="cmtnd_sv" onblur="ktcmtnd(this.value)" value="<?php echo $_smarty_tpl->tpl_vars['khoiphuc']->value['cmtnd_sv'];?>
"/> </td>
                    <td><label id="email">Email:</label></td>
                    <td><input class="text-input" type="text" name="email_sv" id="email_sv" onblur="ktemail(this.value)" value="<?php echo $_smarty_tpl->tpl_vars['khoiphuc']->value['email_sv'];?>
"/> </td>
                    <td><label id="sdt">Điện thoại:</label></td>
                    <td><input class="medium-input" type="text" name="sdt_sv" id="sdt_sv" onblur="ktsdt(this.value)" value="<?php echo $_smarty_tpl->tpl_vars['khoiphuc']->value['sdt_sv'];?>
"/> </td>
                    <td colspan="4">
                        <label id="tongiao">Tôn Giáo:</label>
                        <select name="tongiao">
                            <?php  $_smarty_tpl->tpl_vars['tg'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['tg']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['ds_tongiao']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['tg']->key => $_smarty_tpl->tpl_vars['tg']->value){
$_smarty_tpl->tpl_vars['tg']->_loop = true;
?>
                                 <option value="<?php echo $_smarty_tpl->tpl_vars['tg']->value['madm_tongiao'];?>
" <?php if ($_smarty_tpl->tpl_vars['tg']->value['madm_tongiao']==$_smarty_tpl->tpl_vars['khoiphuc']->value['tongiao']){?> selected=""<?php }?>><?php echo $_smarty_tpl->tpl_vars['tg']->value['ten_tongiao'];?>
</option>
                            <?php } ?>
                        </select>
                    </td>
               </tr>
               <tr class="linebottom">
                    <td colspan="9" >
                        <label id="hokhau">Hộ khẩu:</label>
                        <input class="text-input td-200" type="text" name="hokhau_sv" id="hokhau_sv" value="<?php echo $_smarty_tpl->tpl_vars['khoiphuc']->value['hokhau_sv'];?>
" onblur="kthokhau(this.value);" />
                        <label id="diachi">Địa chỉ:</label>
                        <input class="text-input td-180" type="text" name="diachi_sv" id="diachi_sv" value="<?php echo $_smarty_tpl->tpl_vars['khoiphuc']->value['diachi_sv'];?>
"  onblur="ktdiachi(this.value)"/>
                        <label id="quequan">Quê quán:</label>
                        <input class="text-input td-160" type="text" name="quequan_sv" id="quequan_sv" value="<?php echo $_smarty_tpl->tpl_vars['khoiphuc']->value['quequan_sv'];?>
" onblur="ktquequan(this.value)"/>
                        <label id="nangkhieu">Năng Khiếu:</label>
                        <select name="nangkhieu">
                            <?php  $_smarty_tpl->tpl_vars['nk'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['nk']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['ds_nangkhieu']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['nk']->key => $_smarty_tpl->tpl_vars['nk']->value){
$_smarty_tpl->tpl_vars['nk']->_loop = true;
?>
                                <option value="<?php echo $_smarty_tpl->tpl_vars['nk']->value['madm_nangkhieu'];?>
" <?php if ($_smarty_tpl->tpl_vars['nk']->value['madm_nangkhieu']==$_smarty_tpl->tpl_vars['khoiphuc']->value['nangkhieu']){?> selected=""<?php }?>><?php echo $_smarty_tpl->tpl_vars['nk']->value['tendm_nangkhieu'];?>
</option>
                            <?php } ?>
                        </select>
                         
                    </td>
               </tr>           
            </table>
             <table>
                <tr >
                    <td colspan="9">
                        <b>Thông tin quan hệ gia đình</b>
                    </td>
                </tr>
                <tr>                    
                    <td>Tên quan hệ</td>
                    <td>Họ và tên</td>
                    <td>Năm sinh</td>
                    <td>Địa chỉ</td>
                    <td>Nghề nghiệp</td>
                    <td>Số điện thoại</td>                    
                <tr>                
                <tr>
                    <td><select><option>__Bố__</option></select></td>
                    <td><input class="text-input" type="text" name="hotenbo" onblur="Chuanhoa(this)" value='<?php echo $_smarty_tpl->tpl_vars['khoiphuc']->value["hotenbo"];?>
'/></td>
                    <td><input class="medium-input" type="text" name="ngaysinhbo" value='<?php echo $_smarty_tpl->tpl_vars['khoiphuc']->value["ngaysinhbo"];?>
'/></td>
                    <td><input class="text-input" type="text" name="diachibo" value='<?php echo $_smarty_tpl->tpl_vars['khoiphuc']->value["diachibo"];?>
'/></td>
                    <td><input class="text-input" type="text" name="nghenghiepbo" value='<?php echo $_smarty_tpl->tpl_vars['khoiphuc']->value["nghenghiepbo"];?>
'/></td>                    
                    <td><input class="text-input" type="text" name="sdtbo" value='<?php echo $_smarty_tpl->tpl_vars['khoiphuc']->value["sdtbo"];?>
'/></td>                    
                </tr>
                <tr>
                    <td><select><option>__Mẹ__</option></select></td>
                    <td><input class="text-input" type="text" name="hotenme" onblur="Chuanhoa(this)" value='<?php echo $_smarty_tpl->tpl_vars['khoiphuc']->value["hotenme"];?>
'/></td>
                    <td><input class="medium-input" type="text" name="ngaysinhme" value='<?php echo $_smarty_tpl->tpl_vars['khoiphuc']->value["ngaysinhme"];?>
'/></td>
                    <td><input class="text-input" type="text" name="diachime" value='<?php echo $_smarty_tpl->tpl_vars['khoiphuc']->value["diachime"];?>
'/></td>
                    <td><input class="text-input" type="text" name="nghenghiepme" value='<?php echo $_smarty_tpl->tpl_vars['khoiphuc']->value["nghenghiepme"];?>
'/></td>                    
                    <td><input class="text-input" type="text" name="sdtme" value='<?php echo $_smarty_tpl->tpl_vars['khoiphuc']->value["sdtme"];?>
'/></td>
                </tr>
            </table> 
            <table>
                <tr>
                    <td colspan="10"><b>Thông tin lịch sử cá nhân</b></td>
                </tr>
                <tr>
                    <td>Từ năm</td>
                    <td>Đến năm</td>
                    <td>Hoạt động</td>
                    <td>Địa điểm</td>
                    <td>Thành tích</td>
                </tr>
                <?php  $_smarty_tpl->tpl_vars['i'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['i']->value = 0;
  if ($_smarty_tpl->tpl_vars['i']->value<3){ for ($_foo=true;$_smarty_tpl->tpl_vars['i']->value<3; $_smarty_tpl->tpl_vars['i']->value++){
?>
                <tr>
                    <td><input class="medium-input" type="text" name="tunam<?php echo $_smarty_tpl->tpl_vars['i']->value;?>
" value="<?php echo $_smarty_tpl->tpl_vars['khoiphuc']->value["tunam".((string)$_smarty_tpl->tpl_vars['i']->value)];?>
"/></td>
                    <td><input class="medium-input" type="text" name="dennam<?php echo $_smarty_tpl->tpl_vars['i']->value;?>
" value="<?php echo $_smarty_tpl->tpl_vars['khoiphuc']->value["dennam".((string)$_smarty_tpl->tpl_vars['i']->value)];?>
"/></td>
                    <td><input class="text-input td-210" type="text" name="hoatdong<?php echo $_smarty_tpl->tpl_vars['i']->value;?>
" value="<?php echo $_smarty_tpl->tpl_vars['khoiphuc']->value["hoatdong".((string)$_smarty_tpl->tpl_vars['i']->value)];?>
"/></td>
                    <td><input class="text-input td-210" type="text" name="diadiem<?php echo $_smarty_tpl->tpl_vars['i']->value;?>
" value="<?php echo $_smarty_tpl->tpl_vars['khoiphuc']->value["diadiem".((string)$_smarty_tpl->tpl_vars['i']->value)];?>
"/></td>
                    <td><input class="text-input td-220" type="text" name="thanhtich<?php echo $_smarty_tpl->tpl_vars['i']->value;?>
" value="<?php echo $_smarty_tpl->tpl_vars['khoiphuc']->value["thanhtich".((string)$_smarty_tpl->tpl_vars['i']->value)];?>
"/></td>
                </tr>
                <?php }} ?>
                <tr>
                        <td colspan="5">
                            <input class="button" type="submit" name="themmoi"  value="Lưu hồ sơ"/>
                            <input class="button" type="reset" name="reset" id="reset" value="Nhập Lại" />                                                                                                                        
                        </td>
                </tr>
            </table>           
        </form>
                   
<!-----------------------------------------------------------KẾT THÚC NỘI DUNG TRANG------------------------------------------------------------------------>
</div> <!-- End .content-box-content -->
</div> <!-- End .content-box --><?php }} ?>